Integrand size = 23, antiderivative size = 139 \[ \int \frac {\sin ^3(c+d x)}{\sqrt {a+a \sin (c+d x)}} \, dx=\frac {\sqrt {2} \text {arctanh}\left (\frac {\sqrt {a} \cos (c+d x)}{\sqrt {2} \sqrt {a+a \sin (c+d x)}}\right )}{\sqrt {a} d}-\frac {28 \cos (c+d x)}{15 d \sqrt {a+a \sin (c+d x)}}-\frac {2 \cos (c+d x) \sin ^2(c+d x)}{5 d \sqrt {a+a \sin (c+d x)}}+\frac {2 \cos (c+d x) \sqrt {a+a \sin (c+d x)}}{15 a d} \]
[Out]
Time = 0.17 (sec) , antiderivative size = 139, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 6, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.261, Rules used = {2857, 3047, 3102, 2830, 2728, 212} \[ \int \frac {\sin ^3(c+d x)}{\sqrt {a+a \sin (c+d x)}} \, dx=\frac {\sqrt {2} \text {arctanh}\left (\frac {\sqrt {a} \cos (c+d x)}{\sqrt {2} \sqrt {a \sin (c+d x)+a}}\right )}{\sqrt {a} d}-\frac {2 \sin ^2(c+d x) \cos (c+d x)}{5 d \sqrt {a \sin (c+d x)+a}}+\frac {2 \cos (c+d x) \sqrt {a \sin (c+d x)+a}}{15 a d}-\frac {28 \cos (c+d x)}{15 d \sqrt {a \sin (c+d x)+a}} \]
[In]
[Out]
Rule 212
Rule 2728
Rule 2830
Rule 2857
Rule 3047
Rule 3102
Rubi steps \begin{align*} \text {integral}& = -\frac {2 \cos (c+d x) \sin ^2(c+d x)}{5 d \sqrt {a+a \sin (c+d x)}}-\frac {\int \frac {\sin (c+d x) (-4 a+a \sin (c+d x))}{\sqrt {a+a \sin (c+d x)}} \, dx}{5 a} \\ & = -\frac {2 \cos (c+d x) \sin ^2(c+d x)}{5 d \sqrt {a+a \sin (c+d x)}}-\frac {\int \frac {-4 a \sin (c+d x)+a \sin ^2(c+d x)}{\sqrt {a+a \sin (c+d x)}} \, dx}{5 a} \\ & = -\frac {2 \cos (c+d x) \sin ^2(c+d x)}{5 d \sqrt {a+a \sin (c+d x)}}+\frac {2 \cos (c+d x) \sqrt {a+a \sin (c+d x)}}{15 a d}-\frac {2 \int \frac {\frac {a^2}{2}-7 a^2 \sin (c+d x)}{\sqrt {a+a \sin (c+d x)}} \, dx}{15 a^2} \\ & = -\frac {28 \cos (c+d x)}{15 d \sqrt {a+a \sin (c+d x)}}-\frac {2 \cos (c+d x) \sin ^2(c+d x)}{5 d \sqrt {a+a \sin (c+d x)}}+\frac {2 \cos (c+d x) \sqrt {a+a \sin (c+d x)}}{15 a d}-\int \frac {1}{\sqrt {a+a \sin (c+d x)}} \, dx \\ & = -\frac {28 \cos (c+d x)}{15 d \sqrt {a+a \sin (c+d x)}}-\frac {2 \cos (c+d x) \sin ^2(c+d x)}{5 d \sqrt {a+a \sin (c+d x)}}+\frac {2 \cos (c+d x) \sqrt {a+a \sin (c+d x)}}{15 a d}+\frac {2 \text {Subst}\left (\int \frac {1}{2 a-x^2} \, dx,x,\frac {a \cos (c+d x)}{\sqrt {a+a \sin (c+d x)}}\right )}{d} \\ & = \frac {\sqrt {2} \text {arctanh}\left (\frac {\sqrt {a} \cos (c+d x)}{\sqrt {2} \sqrt {a+a \sin (c+d x)}}\right )}{\sqrt {a} d}-\frac {28 \cos (c+d x)}{15 d \sqrt {a+a \sin (c+d x)}}-\frac {2 \cos (c+d x) \sin ^2(c+d x)}{5 d \sqrt {a+a \sin (c+d x)}}+\frac {2 \cos (c+d x) \sqrt {a+a \sin (c+d x)}}{15 a d} \\ \end{align*}
Result contains complex when optimal does not.
Time = 0.51 (sec) , antiderivative size = 150, normalized size of antiderivative = 1.08 \[ \int \frac {\sin ^3(c+d x)}{\sqrt {a+a \sin (c+d x)}} \, dx=\frac {\left (\cos \left (\frac {1}{2} (c+d x)\right )+\sin \left (\frac {1}{2} (c+d x)\right )\right ) \left ((-60-60 i) (-1)^{3/4} \text {arctanh}\left (\left (\frac {1}{2}+\frac {i}{2}\right ) (-1)^{3/4} \left (-1+\tan \left (\frac {1}{4} (c+d x)\right )\right )\right )-60 \cos \left (\frac {1}{2} (c+d x)\right )+5 \cos \left (\frac {3}{2} (c+d x)\right )+3 \cos \left (\frac {5}{2} (c+d x)\right )+60 \sin \left (\frac {1}{2} (c+d x)\right )+5 \sin \left (\frac {3}{2} (c+d x)\right )-3 \sin \left (\frac {5}{2} (c+d x)\right )\right )}{30 d \sqrt {a (1+\sin (c+d x))}} \]
[In]
[Out]
Time = 0.69 (sec) , antiderivative size = 130, normalized size of antiderivative = 0.94
method | result | size |
default | \(\frac {\left (1+\sin \left (d x +c \right )\right ) \sqrt {-a \left (\sin \left (d x +c \right )-1\right )}\, \left (15 a^{\frac {5}{2}} \sqrt {2}\, \operatorname {arctanh}\left (\frac {\sqrt {a -a \sin \left (d x +c \right )}\, \sqrt {2}}{2 \sqrt {a}}\right )-6 \left (a -a \sin \left (d x +c \right )\right )^{\frac {5}{2}}+10 a \left (a -a \sin \left (d x +c \right )\right )^{\frac {3}{2}}-30 a^{2} \sqrt {a -a \sin \left (d x +c \right )}\right )}{15 a^{3} \cos \left (d x +c \right ) \sqrt {a +a \sin \left (d x +c \right )}\, d}\) | \(130\) |
[In]
[Out]
none
Time = 0.29 (sec) , antiderivative size = 234, normalized size of antiderivative = 1.68 \[ \int \frac {\sin ^3(c+d x)}{\sqrt {a+a \sin (c+d x)}} \, dx=\frac {\frac {15 \, \sqrt {2} {\left (a \cos \left (d x + c\right ) + a \sin \left (d x + c\right ) + a\right )} \log \left (-\frac {\cos \left (d x + c\right )^{2} - {\left (\cos \left (d x + c\right ) - 2\right )} \sin \left (d x + c\right ) + \frac {2 \, \sqrt {2} \sqrt {a \sin \left (d x + c\right ) + a} {\left (\cos \left (d x + c\right ) - \sin \left (d x + c\right ) + 1\right )}}{\sqrt {a}} + 3 \, \cos \left (d x + c\right ) + 2}{\cos \left (d x + c\right )^{2} - {\left (\cos \left (d x + c\right ) + 2\right )} \sin \left (d x + c\right ) - \cos \left (d x + c\right ) - 2}\right )}{\sqrt {a}} + 4 \, {\left (3 \, \cos \left (d x + c\right )^{3} + 4 \, \cos \left (d x + c\right )^{2} - {\left (3 \, \cos \left (d x + c\right )^{2} - \cos \left (d x + c\right ) - 17\right )} \sin \left (d x + c\right ) - 16 \, \cos \left (d x + c\right ) - 17\right )} \sqrt {a \sin \left (d x + c\right ) + a}}{30 \, {\left (a d \cos \left (d x + c\right ) + a d \sin \left (d x + c\right ) + a d\right )}} \]
[In]
[Out]
Timed out. \[ \int \frac {\sin ^3(c+d x)}{\sqrt {a+a \sin (c+d x)}} \, dx=\text {Timed out} \]
[In]
[Out]
\[ \int \frac {\sin ^3(c+d x)}{\sqrt {a+a \sin (c+d x)}} \, dx=\int { \frac {\sin \left (d x + c\right )^{3}}{\sqrt {a \sin \left (d x + c\right ) + a}} \,d x } \]
[In]
[Out]
none
Time = 0.36 (sec) , antiderivative size = 163, normalized size of antiderivative = 1.17 \[ \int \frac {\sin ^3(c+d x)}{\sqrt {a+a \sin (c+d x)}} \, dx=-\frac {\frac {15 \, \sqrt {2} \log \left (\sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, d x + \frac {1}{2} \, c\right ) + 1\right )}{\sqrt {a} \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, d x + \frac {1}{2} \, c\right )\right )} - \frac {15 \, \sqrt {2} \log \left (-\sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, d x + \frac {1}{2} \, c\right ) + 1\right )}{\sqrt {a} \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, d x + \frac {1}{2} \, c\right )\right )} - \frac {4 \, \sqrt {2} {\left (12 \, a^{\frac {9}{2}} \sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{5} - 10 \, a^{\frac {9}{2}} \sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{3} + 15 \, a^{\frac {9}{2}} \sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, d x + \frac {1}{2} \, c\right )\right )}}{a^{5} \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, d x + \frac {1}{2} \, c\right )\right )}}{30 \, d} \]
[In]
[Out]
Timed out. \[ \int \frac {\sin ^3(c+d x)}{\sqrt {a+a \sin (c+d x)}} \, dx=\int \frac {{\sin \left (c+d\,x\right )}^3}{\sqrt {a+a\,\sin \left (c+d\,x\right )}} \,d x \]
[In]
[Out]